package com.syt.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: xxx
 * @Date: 2023/2/20 21:32
 * @Description: 用户启动类
 */
@EnableTransactionManagement
@ComponentScan("com.syt")
@SpringBootApplication
//开启nacos
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.syt.client.cmn")
public class ServiceUserApplication {

    public static void main(String[] args) {
        //System.out.println("用户服务:8203");
        System.out.println("用户服务端口改成:8160");
        SpringApplication.run(ServiceUserApplication.class, args);
    }

}
